﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CozeDto.ProjectDtos;

namespace CozeDto.ProjectInstanceDtos
{
    public class RepProjectList
    {
        /// <summary>
        /// 所有项目
        /// </summary>
        public List<TransferDataSource> Data { get; set; }

        /// <summary>
        /// 站点名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 所属站点
        /// </summary>
        public string? TenantId { get; set; }
    }

    /// <summary>
    /// 穿梭框绑定的数据源
    /// </summary>
    public class TransferDataSource
    {
        /// <summary>
        /// 已经选择的
        /// </summary>
        public bool? Selected { get; set; } = false;
        public string? Key { get; set; }
        public string? Title { get; set; }
        public string? Description { get; set; }
        public bool? Disabled { get; set; } = false;
    }
}
